import request from '@/utils/request'
import {getToken} from '@/utils/auth'
var token = getToken()
export function getRouters() {
  return request({
    url: '/roleMenu/getUserMenu',
    method: 'get',
    params: { token }
  })
}
export function getVisible() {
  return request({
    url: '/menu/list/visible',
    method: 'get',
  })
}

